package com.yunfei.enums;

/**
 * 自定义请求状态码
 * @author ScienJus
 * @date 2015/7/15.
 */
public enum ShiMingRenZhengStatus {
    SUCCESS(0, "成功"),
    SHI_MING_REN_ZHENG_STATUS(30000, "该证件号已经实名认证，但手机号与实名认证手机号不相符，我们将尽快联系对应理财师"),
    IDCARD_NO_ERROR(30001, "身份证格式错误"),
    HUZHAO_NO_ERROR(30002, "中国护照格式错误"),
    TAIBAOZHENG_ERROR(30004, "台胞证格式错误"),
    GAOWAIJUZHUZHENG_ERROR(30005, "国外永久居住证格式错误"),
    IDCARD_TYPE_ERROR(30006, "证件类型不能为空"),
    CARD_NO_ERROR(30007, "证件号不能为空"),
    CARD_PIC_ERROR(30008, "证件照不能为空"),

    SHI_MING_REN_ZHENG_STATUS_SUCCESS(30009,"实名认证通过"),
    SHI_MING_REN_ZHENG_STATUS_ERROR(30010,"实名认证不通过"),
    CUST_NO_NOTNULL(30011,"客户号不能为空"),
    EMAIL_ERRPR(30012,"邮箱格式错误"),
    ZHENGMINGLEIXING_NOTNULL_ERRPR(30013,"证明类型不能为空"),
    ZHENGMINGMONEY_NOTNULL_ERRPR(30014,"证明金额不能为空"),
    ZHENGMINGZILIAO_PIC_ERROR(30015, "上传证明资料不能为空"),
    GANGAOTONGXINGZHENG_NO_ERROR(30003, "港澳通行证格式错误");


    /**
     * 返回码
     */
    private int code;

    /**
     * 返回结果描述
     */
    private String message;

    ShiMingRenZhengStatus(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
